package com.maker.generator.entity;

import java.io.Serializable;
import java.util.List;
/**
 * 配置类
 * @author rainbow
 *
 */
public class MetaGenConfig implements Serializable{
	
	private static final long serialVersionUID = 7809245651953073989L;

	public static final String CONFIGLEVEL = "configLevel";
	public static final String CONFIGLEVEL_FIELD = "field";
	public static final String CONFIGLEVEL_TABLE = "table";
	public static final String CONFIGLEVEL_OBJ = "obj";
	public static final String CONFIGLEVEL_ATTR = "attr";
	public static final String CONFIGLEVEL_PROJECT = "project";
	
	public static final String TABLE_NAME = "tableName";
	public static final String FIELD_TYPE = "fieldType";
	public static final String FIELD_NAME = "fieldName";
	
	
	
	private Long id ;
	/**
	 * 配置等级
	 */
	private String configLevel;
	/**
	 * 所配置的对象的ID，如表ID,字段ID，对象ID，属性ID，项目ID
	 */
	private Long objectId;
	/**
	 * 工作流水编号
	 */
	private Long workInstanceId;
	/**
	 * 所配置的对象名称。如表名、字段名称，对象名称，属性名称，项目名称
	 */
	private String configName;
	/**
	 * 
	 */
	private String configDescription;
	/**
	 * 配置项
	 */
	private List<MetaGenConfigItem> items;

	

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getConfigLevel() {
		return configLevel;
	}

	public void setConfigLevel(String configLevel) {
		this.configLevel = configLevel;
	}

	public String getConfigName() {
		return configName;
	}

	public void setConfigName(String configName) {
		this.configName = configName;
	}

	public String getConfigDescription() {
		return configDescription;
	}

	public void setConfigDescription(String configDescription) {
		this.configDescription = configDescription;
	}

	public List<MetaGenConfigItem> getItems() {
		return items;
	}

	public void setItems(List<MetaGenConfigItem> items) {
		this.items = items;
	}

	public Long getObjectId() {
		return objectId;
	}

	public void setObjectId(Long objectId) {
		this.objectId = objectId;
	}

	public Long getWorkInstanceId() {
		return workInstanceId;
	}

	public void setWorkInstanceId(Long workInstanceId) {
		this.workInstanceId = workInstanceId;
	}
	
	
	

}
